﻿using System.Xml.Serialization;

namespace ReportGen.Model
{
    [XmlRoot("WorkBook")]
    public class WorkBook
    {
        #region 属性

        [XmlAttribute("xmlVersion")]
        public string XmlVersion { get; set; }

        [XmlAttribute("releaseVersion")]
        public string ReleaseVersion { get; set; }

        #endregion 属性

        [XmlElement("Report")]
        public Report Report { get; set; }

        [XmlElement("DesignerVersion")]
        public DesignerVersion DesignerVersion { get; set; }

        [XmlElement("TemplateID")]
        public TemplateID TemplateID { get; set; }

        [XmlElement("PreviewType")]
        public PreviewType PreviewType { get; set; }
    }
}